package com.example.hotel_lxy.bean;

public class LoginBean {


    /**
     * code : 0
     * msg : 成功
     * data : {"id":1,"hid":1,"username":"14","last_login_time":1618304937,"avatar":"http://lxy.yskxfs.com/static/admin/img/none.png","mobile":123456,"role":"1","status":1,"num":"14","hotel":"测试酒店","sex":0,"position":"","mobiles":0,"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhZG1pbiIsImlhdCI6MTYxODMwNzcxNiwiZXhwIjoxNjE4MzE0OTE2LCJuYmYiOjE2MTgzMDc3MTYsInN1YiI6Ind3dy5hZG1pbi5jb20iLCJqdGkiOiJlYzQ0MzhlZGZkNjM1YzNlZWEwMWY0MGM3ZGY5NDA1NiIsInVpZCI6MX0.8s2o_VXoL7vDZ7C7AQfcLgNb_kp-P74QonlK3BKFx14"}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * hid : 1
         * username : 14
         * last_login_time : 1618304937
         * avatar : http://lxy.yskxfs.com/static/admin/img/none.png
         * mobile : 123456
         * role : 1
         * status : 1
         * num : 14
         * hotel : 测试酒店
         * sex : 0
         * position :
         * mobiles : 0
         * token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhZG1pbiIsImlhdCI6MTYxODMwNzcxNiwiZXhwIjoxNjE4MzE0OTE2LCJuYmYiOjE2MTgzMDc3MTYsInN1YiI6Ind3dy5hZG1pbi5jb20iLCJqdGkiOiJlYzQ0MzhlZGZkNjM1YzNlZWEwMWY0MGM3ZGY5NDA1NiIsInVpZCI6MX0.8s2o_VXoL7vDZ7C7AQfcLgNb_kp-P74QonlK3BKFx14
         */

        private int id;
        private int hid;
        private String username;
        private int last_login_time;
        private String avatar;
        private String mobile;
        private String role;
        private int status;
        private String num;
        private String hotel;
        private int sex;
        private String position;
        private String mobiles;
        private String token;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getHid() {
            return hid;
        }

        public void setHid(int hid) {
            this.hid = hid;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public int getLast_login_time() {
            return last_login_time;
        }

        public void setLast_login_time(int last_login_time) {
            this.last_login_time = last_login_time;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getHotel() {
            return hotel;
        }

        public void setHotel(String hotel) {
            this.hotel = hotel;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getMobiles() {
            return mobiles;
        }

        public void setMobiles(String mobiles) {
            this.mobiles = mobiles;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
